package jnpf.model.ragFlow.talkMange;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class CompletionReq {
    @NotBlank(message = "question不能为空")
    @ApiModelProperty(value = "问题内容", required = true)
    private String question;

    @ApiModelProperty(value = "是否流式输出")
    private Boolean stream = true;

    @ApiModelProperty(value = "会话ID")
    private String session_id;

    @ApiModelProperty(value = "用户自定义ID")
    private String user_id;
}
